package com.lagou.tomcat.container;

import com.lagou.tomcat.request.Request;
import com.lagou.tomcat.response.Response;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/7/11 上午10:08
 */
public interface Servlet {

    void init() throws Exception;

    void destroy() throws Exception;

    void service(Request request, Response response) throws Exception;
}
